<%@page import="java.util.*" %>
<%@page import="java.text.DateFormat" %>
<!doctype html>
<html lang="en">
    <head>
        <%@ include file="/WEB-INF/jspf/meta.jspf" %>
        <title>OpenStack & Docker JSP&Servlet Load Balance</title>
        <%@ include file="/WEB-INF/jspf/css.jspf" %>
    </head>
    <body>
        <jsp:include page="/WEB-INF/jspf/menu.jsp">
            <jsp:param name="current" value="about" />
        </jsp:include>
        <div class="container theme-showcase" role="main">
            <%@ include file="/WEB-INF/jspf/jumbotron.jspf" %>
            <ul>
                <%
                    for (Enumeration<String> e = request.getHeaderNames(); e.hasMoreElements();) {
                        String header = e.nextElement();
                        out.println("<li>" + header + ": " + request.getHeader(header) + "</li>");
                    }
                %>
                <li>Buffer size: <%=response.getBufferSize()%></li>
                <li>Session id: <%=session.getId()%></li>
                <li>Servlet name: <%=config.getServletName()%></li>
                <li>Server info: <%=application.getServerInfo()%></li>
                <li>Method: ${pageContext.request.method}</li>
                <li>Context path: ${pageContext.request.contextPath}</li>
                <li>Protocol: ${pageContext.request.protocol}</li>
                <li>Server port: ${pageContext.request.serverPort}</li>
                <li>Request uri: ${pageContext.request.requestURI}</li>
                <li>Class name: <%=page.getClass()%></li>
            </ul>
        </div>
        <%@ include file="/WEB-INF/jspf/js.jspf" %>
    </body>
</html>
